package com.qmerak.action;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.qmerak.common.SysConstants;

/**
 * @author shaohong.cheng
 * @date 2013-4-9
 */
@Controller
@RequestMapping("/login")
public class LoginAction {

	@ResponseBody
	public void first(HttpServletRequest request) {
		request.getSession().setAttribute(SysConstants.SYS_LOGIN_USER, "11");
	}

}
